package com.springboot.cloud.demos.feign.rest;

import com.springboot.cloud.common.core.entity.vo.Result;
import com.springboot.cloud.demos.feign.service.LevelTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LevelTypeController {

    @Autowired
    private LevelTypeService levelTypeService;

    @GetMapping("/open/levelType")
    public Result banner() {
        return levelTypeService.levelType();
    }

}
